{include file='public/head' /}
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item {if condition="$controller eq 'index'"}layui-nav-itemed{/if}">
          <a class="" href="{:Url('index/index')}">站点设置</a>
        </li>
        <li class="layui-nav-item {if condition="$controller eq 'cate'"}layui-nav-itemed{/if}">
          <a class="" href="javascript:;">分类管理</a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('cate/catelist')}">分类列表</a></dd>
            <dd><a href="{:Url('cate/cateinfo')}">添加分类</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item {if condition="$controller eq 'news'"}layui-nav-itemed{/if}">
          <a class="" href="javascript:;">新闻管理</a>
          <dl class="layui-nav-child">
            <dd><a class="" href="{:Url('news/newslist')}">新闻列表</a></dd>
            <dd><a href="{:Url('news/newsinfo')}">添加新闻</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item {if condition="$controller eq 'msg'"}layui-nav-itemed{/if}">
          <a class="" href="{:url('msg/msglist')}">留言管理</a>
        </li>
        
        <li class="layui-nav-item {if condition="$controller eq 'banner'"}layui-nav-itemed{/if}">
          <a class="" href="javascript:;">轮播管理</a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('banner/bannerlist')}">轮播列表</a></dd>
            <dd><a href="{:Url('banner/bannerinfo')}">轮播添加</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item {if condition="$controller eq 'link'"}layui-nav-itemed{/if}">
          <a class="" href="javascript:;">友情链接</a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('link/linklist')}">链接列表</a></dd>
            <dd><a href="{:Url('link/linkinfo')}">链接添加</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item ">
          <a class="" href="{:url('index/delcache')}">清空缓存</a>
        </li>
        <li class="layui-nav-item {if condition="$controller eq 'logo'"}layui-nav-itemed{/if}">
          <a class="" href="{:url('login/modifypassword')}">修改密码</a>
        </li>
        <li class="layui-nav-item ">
          <a class="" href="{:url('index/serverinfo')}">服务器信息</a>
        </li>
        <li class="layui-nav-item ">
          <a class="" href="{:url('login/loginout')}">退出登录</a>
        </li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
   <!-- 内容主体区域 -->
  <div id="main">
      <blockquote class="layui-elem-quote">
        {$title}   
      </blockquote>
      {block name="main"}{/block}
  </div>
  
  <!-- 引入底部 -->
  {include file='public/foot' /}